home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / toupper < prev    next >
Text File  |  2001-03-21  |  839b  |  29 lines

  1. Synopsis:
  2.    $tolower(text)
  3.    $toupper(text)
  4.  
  5. Technical:
  6.    This $toupper() function converts all occurrences of characters in the
  7.    range a..z to their uppercase counterparts, A..Z.  Its counterpart,
  8.    $tolower(), does just the opposite, converting from A..Z to a..z.
  9.  
  10. Practical:
  11.    This basically converts the entire input string to all capital or all
  12.    lowercase letters, depending on the function used.
  13.  
  14. Returns:
  15.    input string with case converted
  16.  
  17. Examples:
  18.    $toupper(Hello there.)          returns "HELLO THERE."
  19.    $tolower(Hi Bob!)               returns "hi bob!"
  20.  
  21. See Also:
  22.    tr(6)
  23.  
  24. Restrictions:
  25.    These functions only work on 7-bit ascii letters.  They will not convert
  26.    8-bit letters with the high bit set (i.e. European characters that have
  27.    accents, graves, etc.).  Use $tr() instead.
  28.  
  29.